#define  _CRT_SECURE_NO_WARNINGS
#include "Stack.h"
int main()
{
	Stack st;
	Init(&st);
	Push(&st, 1);
	Push(&st, 2);
	Push(&st, 3);
	Push(&st, 4);
	
	while (!IsEmpty(&st))
	{
		printf("%d ", GetTop(&st));
		Pop(&st);
	}
	Destroy(&st);
	return 0;
}

